package cn.nnxy.zentao.controller;


import cn.nnxy.zentao.service.List1;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("backs/del")
public class DleController {
    @Autowired
    private List1 list1;

    @GetMapping("deluser")
    public String queryDelUser(String id){
        list1.queryDel(id);
        return "redirect:/back/user/userList";
    }
}
